package net.diaowen.common.base.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;


/**
 * 组实体类
 * @author zhangyuting
 * @date 2019年5月8日
 *
 */
@Entity
@Table(name = "T_USERGROUP_INFO", uniqueConstraints = @UniqueConstraint(columnNames = {"orgId","userGroupName"}))
public class Group extends IdEntity {

	private String orgId;
	private String userGroupName;
	
	//2激活 1未激活 0不可用
	private Integer status=2;// 账号状态
	
	public String getUserGroupName() {
		return userGroupName;
	}
	public void setUserGroupName(String userGroupName) {
		this.userGroupName = userGroupName;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}